$w: 38%;
$h: 78%;
$start:var(--start, 0deg);  
$end:var(--end, -180deg);
$init:var(--init, 0deg);  
.frame{
  width: 100%;
  height: 100vh;
  //设置盒子与视口的距离
  perspective: 4000rem;
  position: relative;
}
.page{
  position: absolute;
  left: 50%;
  width: $w;
  height: $h;
  background-color: #fff;
  transform-origin: left;
  transform-style: preserve-3d;
  //垂直居中
  top: 10%;
  bottom: 0;
  margin: auto 0;
  transform: rotateY($init);
  //看不到背后
  backface-visibility: hidden;
  
}
.bg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -20000;
  pointer-events: none;
  &-enter-from {
    opacity: 0;
  }
  &-enter-active {
    transition: opacity 2s;
  }
  &-enter-to {
    opacity: 1;
  }
  &-leave-from {
    opacity: 1;
  }
  &-leave-active {
    transition: opacity 2s;
  }
  &-leave-to {
    opacity: 0;
  }
  img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
.face{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background-color: #fff;
  box-shadow: 0.9rem 0.6rem 0.6rem 0px #00000059;
}
.back{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transform: rotateY(180deg);
  z-index: 1;
  background-color: #fff;
  box-shadow:-1.4rem 0.6rem 1.3rem 0px #00000059;
}
.leftsztu{
  background: url('../../assets/image/leftbuild.jpg');
  background-size:cover;
  background-repeat: no-repeat;
  opacity: 0.3;
}
.title{
  margin: 3rem;
  font-size: 3.6rem;
  font-weight: 600;
  color: transparent;
  background: linear-gradient(180deg, #4096FF 0%, #265A99 100%);
  background-clip:text;
  padding-left: 1rem;
  padding-bottom: 3.4rem;
  border-bottom: 2px #E5E5E5 solid;
}
.rightsztu{
  background: url('../../assets/image/rightbuild.jpg');
  background-size:cover;
  background-repeat: no-repeat;
  opacity: 0.3;
}
.right-title{
  img{
    display: block;
    width: 38rem;
    height: 10rem;
    object-fit: fill;
    margin-left: auto;
    margin-top: 2.5rem;
  }
  display: flex;
  align-items: center;
  margin: 0 auto;
  width: 90%;
  height: 15.8rem;
  // padding-bottom: 5.8rem;
  margin-bottom: 3rem;
  border-bottom: 2px #E5E5E5 solid;
}
.lptitle{
  @extend .title;
  background-image: linear-gradient(180deg, #78D2DE 0%, #417278 100%);
}
.leftlp{
  background: url('../../assets/image/lpflag.png');
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.3;
}
.rightlp {
  background: url('../../assets/image/lpright.png');
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.3;
}
.bar {
  position: absolute;
  display: flex;
  padding: 0.6rem;
  left: 4.6rem;
  top: 4rem;
  border-radius: 0.6rem;
  background-color: #F5F5F5;
  opacity: 0.85;
  &-item {
    width: 8rem;
    height: 3.2rem;
    border-radius: 0.6rem;
    z-index: 1;
    align-content: center;
    font-size: 1.2rem;
    text-align: center;
    cursor: pointer;
  }

  &-active {
    width: 8rem;
    height: 3.2rem;
    background-color: #fff;
    border-radius: 0.6rem;
    margin: 0.6rem;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    transition: all 0.7s;
  }
}